package com.ruoyi.system.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.domain.entity.YhOrder;
import com.ruoyi.common.core.domain.entity.vo.YhOrderVo;

import java.util.List;

/**
 * 会员购买订单Service接口
 * 
 * @author ruoyi
 * @date 2023-06-06
 */
public interface IYhOrderService extends IService<YhOrder>
{

    /**
    *
    * 支付成功逻辑处理
    */
    void payOrder(String sn, String paymentMethod, String receivableNo);

    /**
    *
    * 新增
    */
    YhOrder saveOrder(YhOrder yhOrder);

    /**
     *
     * 订单集合
     */
    List<YhOrderVo> orderList(YhOrder yhOrder);
}
